public class Professor {
	private String nom;
	private int edat;
	private double SouMensualBrut;
	private double retencioIRPF;
	private boolean celiac;
	
	
	public String getNom() {
		return nom;
	}
	public void setNom(String nom) {
		this.nom = nom;
	}
	
	public int getEdat() {
		return edat;
	}
	public void setEdat(int edat) {
		this.edat = edat;
	}
	
	public double getSouMensualBrut() {
		return SouMensualBrut;
	}
	public void setSouMensualBrut(double souMensualBrut) {
		SouMensualBrut = souMensualBrut;
	}
	
	public double getRetencioIRPF() {
		return retencioIRPF;
	}
	public void setRetencioIRPF(double retencioIRPF) {
		this.retencioIRPF = retencioIRPF;
	}
	
	public boolean isCeliac() {
		return celiac;
	}
	public void setCeliac(boolean celiac) {
		this.celiac = celiac;
	}
	
	public double calculaSouMensualNet(double sou, double IRPF){
		double treu=(sou*IRPF)/100;
		return sou-treu;
	}
}
